package Compare;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class Demo{
	public static void main(String[] args) {
		List<A> as = new ArrayList<A>();
		
		A a1 = new A();
		A a2 = new A();
		
	}
	private String getRandoString(int length){
		String str = "abcdefghijklmnopqrstuvwxyz1234567890";
		return str;
	}
}
class A{
	private Date date = new Date();//deac
	private String name ="";//asc
	private boolean active = false;//deac
	
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public boolean isActive() {
		return active;
	}
	public void setActive(boolean active) {
		this.active = active;
	}
	
	@Override
	public String toString() {
		return "Demo [date=" + date + ", name=" + name + ", active=" + active + "]";
	}	
}